package com.exchange.controller.app.banner;

import java.util.List;

import com.exchange.common.model.Banner;
import com.jfinal.kit.Ret;

public class BannerService {

	public Ret bannerList() {
		List<Banner> bannerList = Banner.dao.findByCache("banner", "banner", "SELECT * FROM t_banner WHERE state = 1");
		return Ret.ok("bannerList", bannerList);
	}

}
